
###############################################################################
#									      #
# 		 Makefile for GNU Interactive Tools 4.3.7		      #
#      Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.          #
#									      #
###############################################################################


#
#   If you make changes in this file in order to compile GIT on a system not
# included in the file PLATFORMS, please send me a patch. My internet address
# is tudor@chang.pub.ro. I'll include it in the next release. Thanks.
#

#
# GIT default install directory. You may change this if you want to install
# the GIT package in a different place.
#


PRODUCT		= "@PRODUCT@"
VERSION		= "@VERSION@"


srcdir		= @srcdir@
VPATH		= @srcdir@

prefix		= @prefix@
mandir		= $(prefix)/man/man1

SHELL		= /bin/sh
INSTALL		= @INSTALL@
INSTALL_PROGRAM	= @INSTALL_PROGRAM@
INSTALL_DATA	= @INSTALL_DATA@
HOST		= @HOST@


GIT_MANUALS	= git.1 gitmatch.1 gitaction.1 gitmount.1\
		  gitcmp.1 gitkeys.1 gitredir.1 gitrgrep.1


man:

installdirs:
	@$(srcdir)/../mkinstalldirs $(mandir)
	chmod 755 $(mandir)

install:
	for i in $(GIT_MANUALS);\
	do\
	    $(INSTALL_DATA) $(srcdir)/$$i $(mandir)/$$i;\
	done
	\
	for i in gitps.1 gitview.1;\
	do\
	    rm -f $(mandir)/$$i;\
	    ln $(mandir)/git.1 $(mandir)/$$i;\
	done

uninstall:
	cd $(mandir) && rm -f $(GIT_MANUALS) gitps.1 gitview.1

clean:
	rm -f *~ core* tutu* gogu*

mostlyclean: clean

distclean: clean
	rm -f Makefile config.status config.log config.cache

realclean: distclean

# Tell version [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
